package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HVideoTraining;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HVideoTrainingMapper {
    int deleteByPrimaryKey(String id);

    int insert(HVideoTraining record);

    int insertSelective(HVideoTraining record);

    HVideoTraining selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HVideoTraining record);

    int updateByPrimaryKey(HVideoTraining record);

    int deleteByIds(@Param("ids") List<String> idList);

    List<HVideoTraining> selectByDeptId(@Param("deptUuid") String deptUuid, RowBounds rowBounds,
                                        @Param("productIds")List<String> productIds,
                                        @Param("videoName")String videoName);

    List<HVideoTraining> selectProductId(String productId, RowBounds rowBounds);

    List<HVideoTraining> selectByTopTen();
}